<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>My Project: roundrobin Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classroundrobin-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">roundrobin Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="roundrobin_8hpp_source.html">roundrobin.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for roundrobin:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classroundrobin.png" usemap="#roundrobin_map" alt=""/>
  <map id="roundrobin_map" name="roundrobin_map">
<area href="classsplitmethod.html" alt="splitmethod" shape="rect" coords="0,0,74,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:acd670a96e62905062e50b21c3d5d64c5"><td class="memItemLeft" align="right" valign="top">virtual FIFO *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classroundrobin.html#acd670a96e62905062e50b21c3d5d64c5">select_fifo</a> (<a class="el" href="class_port.html">Port</a> &amp;port_list, const functype type)</td></tr>
<tr class="separator:acd670a96e62905062e50b21c3d5d64c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_methods_classsplitmethod"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classsplitmethod')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classsplitmethod.html">splitmethod</a></td></tr>
<tr class="memitem:a8ccafddc675963367cbff3939373e7b8 inherit pub_methods_classsplitmethod"><td class="memTemplParams" colspan="2"><a class="anchor" id="a8ccafddc675963367cbff3939373e7b8"></a>
template&lt;class T , typename std::enable_if&lt;                                                                                                          std::is_fundamental&lt; T &gt;::value &gt;::type *  = nullptr&gt; </td></tr>
<tr class="memitem:a8ccafddc675963367cbff3939373e7b8 inherit pub_methods_classsplitmethod"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>send</b> (T &amp;item, const raft::signal signal, <a class="el" href="class_port.html">Port</a> &amp;outputs)</td></tr>
<tr class="separator:a8ccafddc675963367cbff3939373e7b8 inherit pub_methods_classsplitmethod"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9067e627d58d344cd1b11bc9d3e92d6 inherit pub_methods_classsplitmethod"><td class="memTemplParams" colspan="2">template&lt;class T , typename std::enable_if&lt;                                                                                                      not std::is_base_of&lt; autoreleasebase,                                                                                                                                                           T &gt;::value &gt;::type *  = nullptr&gt; </td></tr>
<tr class="memitem:af9067e627d58d344cd1b11bc9d3e92d6 inherit pub_methods_classsplitmethod"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classsplitmethod.html#af9067e627d58d344cd1b11bc9d3e92d6">send</a> (T &amp;range, <a class="el" href="class_port.html">Port</a> &amp;outputs)</td></tr>
<tr class="separator:af9067e627d58d344cd1b11bc9d3e92d6 inherit pub_methods_classsplitmethod"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72e3c5295001d5370c19d56b7ed1d07a inherit pub_methods_classsplitmethod"><td class="memTemplParams" colspan="2"><a class="anchor" id="a72e3c5295001d5370c19d56b7ed1d07a"></a>
template&lt;class T &gt; </td></tr>
<tr class="memitem:a72e3c5295001d5370c19d56b7ed1d07a inherit pub_methods_classsplitmethod"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><b>get</b> (T &amp;item, raft::signal &amp;signal, <a class="el" href="class_port.html">Port</a> &amp;inputs)</td></tr>
<tr class="separator:a72e3c5295001d5370c19d56b7ed1d07a inherit pub_methods_classsplitmethod"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_types_classsplitmethod"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classsplitmethod')"><img src="closed.png" alt="-"/>&#160;Protected Types inherited from <a class="el" href="classsplitmethod.html">splitmethod</a></td></tr>
<tr class="memitem:a55be00e14bebb5a2df32666ca46a1592 inherit pro_types_classsplitmethod"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a55be00e14bebb5a2df32666ca46a1592"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>functype</b> { <b>sendtype</b>, 
<b>gettype</b>
 }<tr class="separator:a55be00e14bebb5a2df32666ca46a1592 inherit pro_types_classsplitmethod"><td class="memSeparator" colspan="2">&#160;</td></tr>
</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="roundrobin_8hpp_source.html">roundrobin.hpp</a> - </p><dl class="section author"><dt>Author</dt><dd>: Jonathan Beard </dd></dl>
<dl class="section version"><dt>Version</dt><dd>: Tue Oct 28 13:05:38 2014</dd></dl>
<p>Copyright 2014 Jonathan Beard</p>
<p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at:</p>
<p><a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></p>
<p>Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="acd670a96e62905062e50b21c3d5d64c5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">FIFO * roundrobin::select_fifo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_port.html">Port</a> &amp;&#160;</td>
          <td class="paramname"><em>port_list</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const functype&#160;</td>
          <td class="paramname"><em>type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>TODO, big assumption here is that eventually a port will have space</p>

<p>Implements <a class="el" href="classsplitmethod.html">splitmethod</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="roundrobin_8hpp_source.html">roundrobin.hpp</a></li>
<li>roundrobin.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address>
</body>
</html>
